package com.wodsy.phoenix.dataobject.shopc.vo;

import com.wodsy.phoenix.dataobject.base.PhoenixObject;
import com.wodsy.phoenix.dataobject.base.PhoenixRequest;
import com.wodsy.phoenix.dataobject.base.PhoenixResponse;

import java.io.Serializable;

/**
 * Created by Huang on 2015/4/16.
 */
public class CalculateFreight extends PhoenixObject implements Serializable,PhoenixRequest,PhoenixResponse {

    private int goodsId;
    private int skuId;
    private int ftId;//商品运费模板id
    private int deliveryMethodId;//配送方式ID
    private int areaId;//配送地区id
    private int count;//购买数量
    private int volume;//sku单个体积（立方厘米）
    private int weight;//sku单个重量（克）

    private int freight;//运费计算结果（分）（请求方不需要传）

    public CalculateFreight() {
    }

    public CalculateFreight(int goodsId, int skuId, int ftId, int deliveryMethodId, int areaId, int count, int volume,
            int weight, int freight) {
        this.goodsId = goodsId;
        this.skuId = skuId;
        this.ftId = ftId;
        this.deliveryMethodId = deliveryMethodId;
        this.areaId = areaId;
        this.count = count;
        this.volume = volume;
        this.weight = weight;
        this.freight = freight;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getSkuId() {
        return skuId;
    }

    public void setSkuId(int skuId) {
        this.skuId = skuId;
    }

    public int getFtId() {
        return ftId;
    }

    public void setFtId(int ftId) {
        this.ftId = ftId;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getFreight() {
        return freight;
    }

    public void setFreight(int freight) {
        this.freight = freight;
    }

    public int getDeliveryMethodId() {
        return deliveryMethodId;
    }

    public void setDeliveryMethodId(int deliveryMethodId) {
        this.deliveryMethodId = deliveryMethodId;
    }
}
